package disruptor;

/**
 * @ClassName DisruptorTestPatterns
 * @PackageName disruptor
 * @projectName myThread
 * @Description TODO
 * @Author games
 * @Date 2025/9/8 下午5:26
 * @Version 1.0
 */
public class DisruptorTestPatterns {
    public static void main(String[] args) throws InterruptedException {
        //System.out.println("=== 单生产者单消费者模式 ===");
        //SingleProducerSingleConsumer.run();

        //System.out.println("\n=== 多生产者多消费者模式 ===");
        //MultipleProducerMultipleConsumer.run();
        System.out.println("\n=== 单生产者多消费者工作池模式 ===");
        SingleProducerMultipleConsumerWorkPool.run();
    }
}

